home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / mail.man < prev    next >
Encoding:
Text File  |  1990-02-13  |  30.8 KB  |  793 lines

  1.  
  2.  
  3.  
  4. MAIL                      User Commands                      MAIL
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      mail - send and receive mail
  10.  
  11. SSYYNNOOPPSSIISS
  12.      mmaaiill [ --iiIInnvv ] [ --ss subject ] [ --cc cc-addr ] [ --bb bcc-addr ]
  13.      to-addr...
  14.      mmaaiill [ --iiIInnNNvv ] --ff [ name ]
  15.      mmaaiill [ --iiIInnNNvv ] [ --uu user ]
  16.  
  17. IINNTTRROODDUUCCTTIIOONN
  18.      _M_a_i_l is a intelligent mail processing system, which has a
  19.      command syntax reminiscent of _e_d with lines replaced by mes-
  20.      sages.
  21.  
  22.      The --vv flag puts mail into verbose mode; the details of
  23.      delivery are displayed on the users terminal.  The --ii flag
  24.      causes tty interrupt signals to be ignored. This is particu-
  25.      larly useful when using _m_a_i_l on noisy phone lines.  The --II
  26.      flag forces mail to run in interactive mode even when input
  27.      isn't a terminal.  In particular, the `~' special character
  28.      when sending mail is only active in interactive mode.  The
  29.      --nn flag inhibits the reading of /usr/lib/Mail.rc.  The --NN
  30.      flag inhibits the initial display of message headers when
  31.      reading mail or editing a mail folder.
  32.  
  33.      _S_e_n_d_i_n_g _m_a_i_l.  To send a message to one or more people, _m_a_i_l
  34.      can be invoked with arguments which are the names of people
  35.      to whom the mail will be sent.  You are then expected to
  36.      type in your message, followed by an EOT (control-D) at the
  37.      beginning of a line.  A subject may be specified on the com-
  38.      mand line by using the --ss flag. (Only the first argument
  39.      after the --ss flag is used as a subject; be careful to quote
  40.      subjects containing spaces.)  Lists of users to send carbon
  41.      copies and blind carbon copies to may be specified using the
  42.      --cc and --bb options, respectively.  The single argument fol-
  43.      lowing the flag is taken to be a comma-separated list of
  44.      names.  The section below, labeled _R_e_p_l_y_i_n_g _t_o _o_r _o_r_i_g_i_n_a_t_-
  45.      _i_n_g _m_a_i_l, describes some features of _m_a_i_l available to help
  46.      you compose your letter.
  47.  
  48.      _R_e_a_d_i_n_g _m_a_i_l.  In normal usage _m_a_i_l is given no arguments
  49.      and checks your mail out of the post office, then prints out
  50.      a one line header of each message there.  The current mes-
  51.      sage is initially the first message (numbered 1) and can be
  52.      printed using the pprriinntt command (which can be abbreviated
  53.      pp).  You can move among the messages much as you move
  54.      between lines in _e_d, with the commands `+' and `-' moving
  55.      backwards and forwards, and simple numbers.
  56.  
  57.      _D_i_s_p_o_s_i_n_g _o_f _m_a_i_l.  After examining a message you can ddeelleettee
  58.      (dd) the message or rreeppllyy (rr) to it.  Deletion causes the
  59.      _m_a_i_l program to forget about the message.  This is not
  60.  
  61.  
  62.  
  63. Sprite v1.0             February 13, 1989                       1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MAIL                      User Commands                      MAIL
  71.  
  72.  
  73.  
  74.      irreversible; the message can be uunnddeelleetteedd (uu) by giving its
  75.      number, or the _m_a_i_l session can be aborted by giving the
  76.      eexxiitt (xx) command.  Deleted messages will, however, usually
  77.      disappear never to be seen again.
  78.  
  79.      _S_p_e_c_i_f_y_i_n_g _m_e_s_s_a_g_e_s.  Commands such as pprriinntt and ddeelleettee can
  80.      be given a list of message numbers as arguments to apply to
  81.      a number of messages at once.  Thus ``delete 1 2'' deletes
  82.      messages 1 and 2, while ``delete 1-5'' deletes messages 1
  83.      through 5.  The special name ``*'' addresses all messages,
  84.      and ``$'' addresses the last message; thus the command ttoopp
  85.      which prints the first few lines of a message could be used
  86.      in ``top *'' to print the first few lines of all messages.
  87.  
  88.      _R_e_p_l_y_i_n_g _t_o _o_r _o_r_i_g_i_n_a_t_i_n_g _m_a_i_l.  You can use the rreeppllyy com-
  89.      mand to set up a response to a message, sending it back to
  90.      the person who it was from.  Text you then type in, up to an
  91.      end-of-file, defines the contents of the message.  While you
  92.      are composing a message, _m_a_i_l treats lines beginning with
  93.      the character `~' specially.  For instance, typing ``~m''
  94.      (alone on a line) will place a copy of the current message
  95.      into the response right shifting it by a tabstop (see
  96.      ``tabstr'' variable, below).  Other escapes will set up sub-
  97.      ject fields, add and delete recipients to the message and
  98.      allow you to escape to an editor to revise the message or to
  99.      a shell to run some commands.  (These options are given in
  100.      the summary below.)
  101.  
  102.      _E_n_d_i_n_g _a _m_a_i_l _p_r_o_c_e_s_s_i_n_g _s_e_s_s_i_o_n.  You can end a _m_a_i_l ses-
  103.      sion with the qquuiitt (qq) command.  Messages which have been
  104.      examined go to your _m_b_o_x file unless they have been deleted
  105.      in which case they are discarded.  Unexamined messages go
  106.      back to the post office.  The --ff option causes _m_a_i_l to read
  107.      in the contents of your _m_b_o_x (or the specified file) for
  108.      processing; when you qquuiitt, _m_a_i_l writes undeleted messages
  109.      back to this file.  The --uu flag is a short way of doing
  110.      "mail --ff /usr/spool/mail/user".
  111.  
  112.      _P_e_r_s_o_n_a_l _a_n_d _s_y_s_t_e_m_w_i_d_e _d_i_s_t_r_i_b_u_t_i_o_n _l_i_s_t_s.  It is also pos-
  113.      sible to create a personal distribution lists so that, for
  114.      instance, you can send mail to ``cohorts'' and have it go to
  115.      a group of people.  Such lists can be defined by placing a
  116.      line like
  117.  
  118.           alias cohorts bill ozalp jkf mark kridle@ucbcory
  119.  
  120.      in the file .mailrc in your home directory.  The current
  121.      list of such aliases can be displayed with the aalliiaass ((aa))
  122.      command in _m_a_i_l.  System wide distribution lists can be
  123.      created by editing /usr/lib/aliases, see _a_l_i_a_s_e_s(5) and
  124.      _s_e_n_d_m_a_i_l(8); these are kept in a different syntax.  In mail
  125.      you send, personal aliases will be expanded in mail sent to
  126.  
  127.  
  128.  
  129. Sprite v1.0             February 13, 1989                       2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. MAIL                      User Commands                      MAIL
  137.  
  138.  
  139.  
  140.      others so that they will be able to rreeppllyy to the recipients.
  141.      System wide _a_l_i_a_s_e_s are not expanded when the mail is sent,
  142.      but any reply returned to the machine will have the system
  143.      wide alias expanded as all mail goes through _s_e_n_d_m_a_i_l.
  144.  
  145.      _N_e_t_w_o_r_k _m_a_i_l (_A_R_P_A, _U_U_C_P, _B_e_r_k_n_e_t)  See _m_a_i_l_a_d_d_r(_7) for a
  146.      description of network addresses.
  147.  
  148.      _M_a_i_l has a number of options which can be set in the ._m_a_i_l_r_c
  149.      file to alter its behavior; thus ``set askcc'' enables the
  150.      ``askcc'' feature.  (These options are summarized below.)
  151.  
  152. SSUUMMMMAARRYY
  153.      (Adapted from the `Mail Reference Manual')
  154.  
  155.      Each command is typed on a line by itself, and may take
  156.      arguments following the command word.  The command need not
  157.      be typed in its entirety - the first command which matches
  158.      the typed prefix is used.  For commands which take message
  159.      lists as arguments, if no message list is given, then the
  160.      next message forward which satisfies the command's require-
  161.      ments is used.  If there are no messages forward of the
  162.      current message, the search proceeds backwards, and if there
  163.      are no good messages at all, _m_a_i_l types ``No applicable mes-
  164.      sages'' and aborts the command.
  165.  
  166.      --           Goes to the previous message and prints it out.
  167.                  If given a numeric argument _n, goes to the _n-th
  168.                  previous message and prints it.
  169.  
  170.      ??           Prints a brief summary of commands.
  171.  
  172.      !!           Executes the UNIX shell command which follows.
  173.  
  174.      PPrriinntt       (PP) Like pprriinntt but also prints out ignored
  175.                  header fields. See also pprriinntt , iiggnnoorree and
  176.                  rreettaaiinn..
  177.  
  178.      RReeppllyy       (RR) Reply to originator. Does not reply to other
  179.                  recipients of the original message.
  180.  
  181.      TTyyppee        (TT) Identical to the PPrriinntt command.
  182.  
  183.      aalliiaass       (aa) With no arguments, prints out all
  184.                  currently-defined aliases.  With one argument,
  185.                  prints out that alias.  With more than one argu-
  186.                  ment, creates a new alias or changes an old one.
  187.  
  188.      aalltteerrnnaatteess  (aalltt) The aalltteerrnnaatteess command is useful if you
  189.                  have accounts on several machines.  It can be
  190.                  used to inform _m_a_i_l that the listed addresses
  191.                  are really you. When you rreeppllyy to messages, _m_a_i_l
  192.  
  193.  
  194.  
  195. Sprite v1.0             February 13, 1989                       3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. MAIL                      User Commands                      MAIL
  203.  
  204.  
  205.  
  206.                  will not send a copy of the message to any of
  207.                  the addresses listed on the _a_l_t_e_r_n_a_t_e_s list. If
  208.                  the aalltteerrnnaatteess command is given with no argu-
  209.                  ment, the current set of alternate names is
  210.                  displayed.
  211.  
  212.      cchhddiirr       (cc) Changes the user's working directory to that
  213.                  specified, if given.  If no directory is given,
  214.                  then changes to the user's login directory.
  215.  
  216.      ccooppyy        (ccoo) The ccooppyy command does the same thing that
  217.                  ssaavvee does, except that it does not mark the mes-
  218.                  sages it is used on for deletion when you quit.
  219.  
  220.      ddeelleettee      (dd) Takes a list of messages as argument and
  221.                  marks them all as deleted.  Deleted messages
  222.                  will not be saved in _m_b_o_x, nor will they be
  223.                  available for most other commands.
  224.  
  225.      ddpp          (also ddtt) Deletes the current message and prints
  226.                  the next message.  If there is no next message,
  227.                  _m_a_i_l says ``at EOF.''
  228.  
  229.      eeddiitt        (ee) Takes a list of messages and points the text
  230.                  editor at each one in turn.  On return from the
  231.                  editor, the message is read back in.
  232.  
  233.      eexxiitt        (eexx or xx) Effects an immediate return to the
  234.                  Shell without modifying the user's system mail-
  235.                  box, his _m_b_o_x file, or his edit file in --ff.
  236.  
  237.      ffiillee        (ffii) The same as ffoollddeerr.
  238.  
  239.      ffoollddeerrss     List the names of the folders in your folder
  240.                  directory.
  241.  
  242.      ffoollddeerr      (ffoo) The ffoollddeerr command switches to a new mail
  243.                  file or folder. With no arguments, it tells you
  244.                  which file you are currently reading.  If you
  245.                  give it an argument, it will write out changes
  246.                  (such as deletions) you have made in the current
  247.                  file and read in the new file. Some special con-
  248.                  ventions are recognized for the name. # means
  249.                  the previous file, % means your system mailbox,
  250.                  %user means user's system mailbox, & means your
  251.                  _m_b_o_x file, and +folder means a file in your
  252.                  folder directory.
  253.  
  254.      ffrroomm        (ff) Takes a list of messages and prints their
  255.                  message headers.
  256.  
  257.      hheeaaddeerrss     (hh) Lists the current range of headers, which is
  258.  
  259.  
  260.  
  261. Sprite v1.0             February 13, 1989                       4
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. MAIL                      User Commands                      MAIL
  269.  
  270.  
  271.  
  272.                  an 18-message group.  If a ``+'' argument is
  273.                  given, then the next 18-message group is
  274.                  printed, and if a ``-'' argument is given, the
  275.                  previous 18-message group is printed.
  276.  
  277.      hheellpp        A synonym for ?
  278.  
  279.      hhoolldd        (hhoo, also pprreesseerrvvee) Takes a message list and
  280.                  marks each message therein to be saved in the
  281.                  user's system mailbox instead of in _m_b_o_x.  Does
  282.                  not override the ddeelleettee command.
  283.  
  284.      iiggnnoorree      NN..BB..:: _I_g_n_o_r_e has been superseded by _r_e_t_a_i_n.
  285.                  Add the list of header fields named to the
  286.                  _i_g_n_o_r_e_d _l_i_s_t.  Header fields in the ignore list
  287.                  are not printed on your terminal when you print
  288.                  a message. This command is very handy for
  289.                  suppression of certain machine-generated header
  290.                  fields. The TTyyppee and PPrriinntt commands can be used
  291.                  to print a message in its entirety, including
  292.                  ignored fields. If iiggnnoorree is executed with no
  293.                  arguments, it lists the current set of ignored
  294.                  fields.
  295.  
  296.      mmaaiill        (mm) Takes as argument login names and distribu-
  297.                  tion group names and sends mail to those people.
  298.  
  299.      mmbbooxx        Indicate that a list of messages be sent to _m_b_o_x
  300.                  in your home directory when you quit. This is
  301.                  the default action for messages if you do _n_o_t
  302.                  have the _h_o_l_d option set.
  303.  
  304.      nneexxtt        (nn like ++ or CR) Goes to the next message in
  305.                  sequence and types it.  With an argument list,
  306.                  types the next matching message.
  307.  
  308.      pprreesseerrvvee    (pprree) A synonym for hhoolldd.
  309.  
  310.      pprriinntt       (pp) Takes a message list and types out each mes-
  311.                  sage on the user's terminal.
  312.  
  313.      qquuiitt        (qq) Terminates the session, saving all
  314.                  undeleted, unsaved messages in the user's _m_b_o_x
  315.                  file in his login directory, preserving all mes-
  316.                  sages marked with hhoolldd or pprreesseerrvvee or never
  317.                  referenced in his system mailbox, and removing
  318.                  all other messages from his system mailbox.  If
  319.                  new mail has arrived during the session, the
  320.                  message ``You have new mail'' is given.  If
  321.                  given while editing a mailbox file with the --ff
  322.                  flag, then the edit file is rewritten.  A return
  323.                  to the Shell is effected, unless the rewrite of
  324.  
  325.  
  326.  
  327. Sprite v1.0             February 13, 1989                       5
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. MAIL                      User Commands                      MAIL
  335.  
  336.  
  337.  
  338.                  edit file fails, in which case the user can
  339.                  escape with the eexxiitt command.
  340.  
  341.      rreeppllyy       (rr) Takes a message list and sends mail to the
  342.                  sender and all recipients of the specified mes-
  343.                  sage.  The default message must not be deleted.
  344.  
  345.      rreessppoonndd     A synonym for rreeppllyy.
  346.  
  347.      rreettaaiinn      Add the list of header fields named to the
  348.                  _r_e_t_a_i_n_e_d _l_i_s_t.  Only the header fields in the
  349.                  retain list are shown on your terminal when you
  350.                  print a message.  All other header fields are
  351.                  suppressed.  The TTyyppee and PPrriinntt commands can be
  352.                  used to print a message in its entirety.  If
  353.                  rreettaaiinn is executed with no arguments, it lists
  354.                  the current set of retained fields.
  355.  
  356.      ssaavvee        (ss) Takes a message list and a filename and
  357.                  appends each message in turn to the end of the
  358.                  file.  The filename in quotes, followed by the
  359.                  line count and character count is echoed on the
  360.                  user's terminal.
  361.  
  362.      sseett         (ssee) With no arguments, prints all variable
  363.                  values.  Otherwise, sets option.  Arguments are
  364.                  of the form ``option=value'' (no space before or
  365.                  after =) or ``option.'' Quotation marks may be
  366.                  placed around any part of the assignment state-
  367.                  ment to quote blanks or tabs, i.e. ``set
  368.                  tabstr="-> "''.
  369.  
  370.      ssaavveeiiggnnoorree  SSaavveeiiggnnoorree is to ssaavvee what iiggnnoorree is to pprriinntt
  371.                  and ttyyppee.  Header fields thus marked are fil-
  372.                  tered out when saving a message by ssaavvee or when
  373.                  automatically saving to _m_b_o_x.
  374.  
  375.      ssaavveerreettaaiinn  SSaavveerreettaaiinn is to ssaavvee what rreettaaiinn is to pprriinntt
  376.                  and ttyyppee.  Header fields thus marked are the
  377.                  only ones saved with a message when saving by
  378.                  ssaavvee or when automatically saving to _m_b_o_x.
  379.                  SSaavveerreettaaiinn overrides ssaavveeiiggnnoorree.
  380.  
  381.      sshheellll       (sshh) Invokes an interactive version of the
  382.                  shell.
  383.  
  384.      ssiizzee        Takes a message list and prints out the size in
  385.                  characters of each message.
  386.  
  387.      ssoouurrccee      (ssoo) The ssoouurrccee command reads _m_a_i_l commands from
  388.                  a file.
  389.  
  390.  
  391.  
  392.  
  393. Sprite v1.0             February 13, 1989                       6
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. MAIL                      User Commands                      MAIL
  401.  
  402.  
  403.  
  404.      ttoopp         Takes a message list and prints the top few
  405.                  lines of each.  The number of lines printed is
  406.                  controlled by the variable ttoopplliinneess and defaults
  407.                  to five.
  408.  
  409.      ttyyppee        (tt) A synonym for pprriinntt.
  410.  
  411.      uunnaalliiaass     Takes a list of names defined by aalliiaass commands
  412.                  and discards the remembered groups of users.
  413.                  The group names no longer have any significance.
  414.  
  415.      uunnddeelleettee    (uu) Takes a message list and marks each message
  416.                  as _n_o_t being deleted.
  417.  
  418.      uunnrreeaadd      (UU) Takes a message list and marks each message
  419.                  as _n_o_t having been read.
  420.  
  421.      uunnsseett       Takes a list of option names and discards their
  422.                  remembered values; the inverse of sseett.
  423.  
  424.      vviissuuaall      (vv) Takes a message list and invokes the display
  425.                  editor on each message.
  426.  
  427.      wwrriittee       (ww) Similar to ssaavvee, except that _o_n_l_y the mes-
  428.                  sage body (_w_i_t_h_o_u_t the header) is saved.
  429.                  Extremely useful for such tasks as sending and
  430.                  receiving source program text over the message
  431.                  system.
  432.  
  433.      xxiitt         (xx) A synonym for eexxiitt.
  434.  
  435.      zz           _M_a_i_l presents message headers in windowfuls as
  436.                  described under the hheeaaddeerrss command. You can
  437.                  move _m_a_i_l's attention forward to the next window
  438.                  with the zz command. Also, you can move to the
  439.                  previous window by using zz--.
  440.  
  441.      Here is a summary of the tilde escapes, which are used when
  442.      composing messages to perform special functions.  Tilde
  443.      escapes are only recognized at the beginning of lines.  The
  444.      name ``tilde escape'' is somewhat of a misnomer since the
  445.      actual escape character can be set by the option eessccaappee..
  446.  
  447.      ~~!!command   Execute the indicated shell command, then return
  448.                  to the message.
  449.  
  450.      ~~bb name ... Add the given names to the list of carbon copy
  451.                  recipients but do not make the names visible in
  452.                  the Cc: line ("blind" carbon copy).
  453.  
  454.      ~~cc name ... Add the given names to the list of carbon copy
  455.                  recipients.
  456.  
  457.  
  458.  
  459. Sprite v1.0             February 13, 1989                       7
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. MAIL                      User Commands                      MAIL
  467.  
  468.  
  469.  
  470.      ~~dd          Read the file ``dead.letter'' from your home
  471.                  directory into the message.
  472.  
  473.      ~~ee          Invoke the text editor on the message collected
  474.                  so far.  After the editing session is finished,
  475.                  you may continue appending text to the message.
  476.  
  477.      ~~ff messages Read the named messages into the message being
  478.                  sent.  If no messages are specified, read in the
  479.                  current message.  Message headers currently
  480.                  being ignored (by the _i_g_n_o_r_e or _r_e_t_a_i_n command)
  481.                  are not included.
  482.  
  483.      ~~FF messages Identical to ~~ff, except all message headers are
  484.                  included.
  485.  
  486.      ~~hh          Edit the message header fields by typing each
  487.                  one in turn and allowing the user to append text
  488.                  to the end or modify the field by using the
  489.                  current terminal erase and kill characters.
  490.  
  491.      ~~mm messages Read the named messages into the message being
  492.                  sent, shifted right one tab or by the value of
  493.                  _t_a_b_s_t_r.  If no messages are specified, read the
  494.                  current message.  Message headers currently
  495.                  being ignored (by the _i_g_n_o_r_e or _r_e_t_a_i_n command)
  496.                  are not included.
  497.  
  498.      ~~MM messages Identical to ~~mm, except all message headers are
  499.                  included.
  500.  
  501.      ~~pp          Print out the message collected so far, prefaced
  502.                  by the message header fields.
  503.  
  504.      ~~qq          Abort the message being sent, copying the mes-
  505.                  sage to ``dead.letter'' in your home directory
  506.                  if ssaavvee is set.
  507.  
  508.      ~~rr filename Read the named file into the message.
  509.  
  510.      ~~ss string   Cause the named string to become the current
  511.                  subject field.
  512.  
  513.      ~~tt name ... Add the given names to the direct recipient
  514.                  list.
  515.  
  516.      ~~vv          Invoke an alternate editor (defined by the
  517.                  VISUAL option) on the message collected so far.
  518.                  Usually, the alternate editor will be a screen
  519.                  editor.  After you quit the editor, you may
  520.                  resume appending text to the end of your mes-
  521.                  sage.
  522.  
  523.  
  524.  
  525. Sprite v1.0             February 13, 1989                       8
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. MAIL                      User Commands                      MAIL
  533.  
  534.  
  535.  
  536.      ~~ww filename Write the message onto the named file.
  537.  
  538.      ~~||command   Pipe the message through the command as a
  539.                  filter.  If the command gives no output or ter-
  540.                  minates abnormally, retain the original text of
  541.                  the message.  The command _f_m_t(1) is often used
  542.                  as _c_o_m_m_a_n_d to rejustify the message.
  543.  
  544.      ~~:: mail-command
  545.                  Execute the given mail command.  Not all com-
  546.                  mands, however, are allowed.
  547.  
  548.      ~~~~string    Insert the string of text in the message pre-
  549.                  faced by a single ~.  If you have changed the
  550.                  escape character, then you should double that
  551.                  character in order to send it.
  552.  
  553.      Options are controlled via the sseett and uunnsseett commands.
  554.      Options may be either binary, in which case it is only sig-
  555.      nificant to see whether they are set or not; or string, in
  556.      which case the actual value is of interest.  The binary
  557.      options include the following:
  558.  
  559.      aappppeenndd         Causes messages saved in _m_b_o_x to be appended
  560.                     to the end rather than prepended.  This
  561.                     should always be set (perhaps in
  562.                     /usr/lib/Mail.rc).
  563.  
  564.      aasskk            Causes _m_a_i_l to prompt you for the subject of
  565.                     each message you send.  If you respond with
  566.                     simply a newline, no subject field will be
  567.                     sent.
  568.  
  569.      aasskkcccc          Causes you to be prompted for additional car-
  570.                     bon copy recipients at the end of each mes-
  571.                     sage.  Responding with a newline indicates
  572.                     your satisfaction with the current list.
  573.  
  574.      aauuttoopprriinntt      Causes the ddeelleettee command to behave like ddpp -
  575.                     thus, after deleting a message, the next one
  576.                     will be typed automatically.
  577.  
  578.      ddeebbuugg          Setting the binary option _d_e_b_u_g is the same
  579.                     as specifying --dd on the command line and
  580.                     causes _m_a_i_l to output all sorts of informa-
  581.                     tion useful for debugging _m_a_i_l.
  582.  
  583.      ddoott            The binary option _d_o_t causes _m_a_i_l to inter-
  584.                     pret a period alone on a line as the termina-
  585.                     tor of a message you are sending.
  586.  
  587.      hhoolldd           This option is used to hold messages in the
  588.  
  589.  
  590.  
  591. Sprite v1.0             February 13, 1989                       9
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. MAIL                      User Commands                      MAIL
  599.  
  600.  
  601.  
  602.                     system mailbox by default.
  603.  
  604.      iiggnnoorree         Causes interrupt signals from your terminal
  605.                     to be ignored and echoed as @'s.
  606.  
  607.      iiggnnoorreeeeooff      An option related to _d_o_t is _i_g_n_o_r_e_e_o_f which
  608.                     makes _m_a_i_l refuse to accept a control-d as
  609.                     the end of a message.  _I_g_n_o_r_e_e_o_f also applies
  610.                     to _m_a_i_l command mode.
  611.  
  612.      mmeettoooo          Usually, when a group is expanded that con-
  613.                     tains the sender, the sender is removed from
  614.                     the expansion.  Setting this option causes
  615.                     the sender to be included in the group.
  616.  
  617.      nnoohheeaaddeerr       Setting the option _n_o_h_e_a_d_e_r is the same as
  618.                     giving the --NN flag on the command line.
  619.  
  620.      nnoossaavvee         Normally, when you abort a message with two
  621.                     RUBOUT, _m_a_i_l copies the partial letter to the
  622.                     file ``dead.letter'' in your home directory.
  623.                     Setting the binary option _n_o_s_a_v_e prevents
  624.                     this.
  625.  
  626.      RReeppllyyaallll       Reverses the sense of _r_e_p_l_y and _R_e_p_l_y com-
  627.                     mands.
  628.  
  629.      qquuiieett          Suppresses the printing of the version when
  630.                     first invoked.
  631.  
  632.      vveerrbboossee        Setting the option _v_e_r_b_o_s_e is the same as
  633.                     using the --vv flag on the command line. When
  634.                     mail runs in verbose mode, the actual
  635.                     delivery of messages is displayed on he users
  636.                     terminal.
  637.  
  638.      The following options have string values:
  639.  
  640.      EDITOR         Pathname of the text editor to use in the
  641.                     eeddiitt command and ~e escape.  If not defined,
  642.                     then a default editor is used.
  643.  
  644.      LISTER         Pathname of the directory lister to use in
  645.                     the ffoollddeerrss command.  Default is /bin/ls.
  646.  
  647.      PAGER          Pathname of the program to use in the mmoorree
  648.                     command or when _c_r_t variable is set.  The
  649.                     default paginator _m_o_r_e(_1) is used if this
  650.                     option is not defined.
  651.  
  652.      SHELL          Pathname of the shell to use in the !! command
  653.                     and the ~! escape.  A default shell is used
  654.  
  655.  
  656.  
  657. Sprite v1.0             February 13, 1989                      10
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. MAIL                      User Commands                      MAIL
  665.  
  666.  
  667.  
  668.                     if this option is not defined.
  669.  
  670.      VISUAL         Pathname of the text editor to use in the
  671.                     vviissuuaall command and ~v escape.
  672.  
  673.      ccrrtt            The valued option _c_r_t is used as a threshold
  674.                     to determine how long a message must be
  675.                     before PPAAGGEERR is used to read it.  If _c_r_t is
  676.                     set without a value, then the height of the
  677.                     terminal screen stored in the system is used
  678.                     to compute the threshold (see _s_t_t_y(_1)).
  679.  
  680.      eessccaappee         If defined, the first character of this
  681.                     option gives the character to use in the
  682.                     place of ~ to denote escapes.
  683.  
  684.      ffoollddeerr         The name of the directory to use for storing
  685.                     folders of messages. If this name begins with
  686.                     a `/', _m_a_i_l considers it to be an absolute
  687.                     pathname; otherwise, the folder directory is
  688.                     found relative to your home directory.
  689.  
  690.      MMBBOOXX           The name of the _m_b_o_x file.  It can be the
  691.                     name of a folder.  The default is ``mbox'' in
  692.                     the user's home directory.
  693.  
  694.      rreeccoorrdd         If defined, gives the pathname of the file
  695.                     used to record all outgoing mail.  If not
  696.                     defined, then outgoing mail is not so saved.
  697.  
  698.      ttaabbssttrr         String used by the ``~m'' tilde escape for
  699.                     tabbing messages, in place of the normal tab
  700.                     character (^I).  Be sure to quote the value
  701.                     if it contains spaces or tabs.
  702.  
  703.      ttoopplliinneess       If defined, gives the number of lines of a
  704.                     message to be printed out with the ttoopp com-
  705.                     mand; normally, the first five lines are
  706.                     printed.
  707.  
  708. FFIILLEESS
  709.      /usr/spool/mail/*        post office
  710.      ~/mbox                   your old mail
  711.      ~/.mailrc                file giving initial mail commands
  712.      /tmp/R*                  temporary files
  713.      /usr/lib/Mail.help*      help files
  714.      /usr/lib/Mail.rc         system initialization file
  715.  
  716. SSEEEE AALLSSOO
  717.      binmail(1), fmt(1), newaliases(1), aliases(5),
  718.      mailaddr(7), sendmail(8)
  719.      `The Mail Reference Manual'
  720.  
  721.  
  722.  
  723. Sprite v1.0             February 13, 1989                      11
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. MAIL                      User Commands                      MAIL
  731.  
  732.  
  733.  
  734. BBUUGGSS
  735.      There are some flags that are not documented here. Most are
  736.      not useful to the general user.
  737.      Usually, _m_a_i_l is just a link to _M_a_i_l, which can be confus-
  738.      ing.
  739.  
  740. AAUUTTHHOORR
  741.      Kurt Shoens
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789. Sprite v1.0             February 13, 1989                      12
  790.  
  791.  
  792.  
  793.